package com.lovo.invoicing.bean;

public enum MessageCode {
    SUCCESS(1000,"成功"),
    FAIL(2000,"失败"),
    ERROR(-1,"错误");
    private Integer code;
    private String msg;

    MessageCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
